.aa {
    color: blue;
}

bb {
    padding-top: 10px;
    border-top-width: 1px;
    color: #728e1b;
}

.bb {
    padding-top: 10px;
    border-top-width: 1px;
    color: #728e1b;
}

* {
    margin: 0;
}

.top {
    background-image: url("../img/banner_qtah.jpg");
    height: 500px;
    /*width: 1000px;*/
    /*高度应该等比例缩放*/
    /*height: calc(1000 * 808px / 1920);*/
    background-size: 100% 100%;
    color: white;
}

/*快捷键注释  ctrl+？*/
.top > div > div:nth-child(1) {
    /*border: 1px solid red;*/
    width: 900px;

}

.top > div {
    display: flex;
    justify-content: center;
}

.top > div:nth-child(1) > div:nth-child(1) {
    display: flex;
    justify-content: space-between;
}

/*logo外面的div*/
.top > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) {
    height: 141px;
}

/*自动对齐*/
.top > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) {
    display: flex;
    align-items: center;
}

.top > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) > div:nth-child(2) {
    margin-left: 20px;
}

.middle {
    /*高度*/
    /*height: 50px;*/
    /*    字体上下居中*/
    /*    行高*/
    /*    line-height: 50px;*/
    /*    边框设置  边框宽度，边框形状，边框颜色*/
    /*    border: 1px solid red;*/
    /*    grba 最后一个参数叫做透明(0-1)*/
    /*    background-color: rgba(112, 142, 46, 0.4);*/
    /*    background-color: rgb(112, 142, 46);*/
    /*background-color: #728e1b;*/
}

.content {
    display: flex;
    justify-content: center;

}

/* > 选择器  子代选择器*/
.content > div {
    width: 1000px;

}

/*------------------导航------------------------------------*/
.top > div:nth-child(2) {
    height: 40px;
    background-color: rgb(230, 145, 55);
}

.top > div:nth-child(2) > div {
    display: flex;
    align-items: center;

}

.top > div:nth-child(2) > div > div {
    /*margin: 0 20px;*/
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
}

.top > div:nth-child(2) > div > div:hover {
    background-color: white;
    color: rgb(230, 145, 55);
    cursor: pointer;
}

/*--------------广告-----------*/
.top > div:nth-child(3) > div {
    height: 340px;
    display: flex;
    align-items: center;
}

/*.top > div:nth-child(3) > div > div {*/
/*    border: 1px solid blue;*/
/*}*/

.ad > div:nth-child(1) {
    font-size: 30px;
}

.ad > div:nth-child(2) > div {
    font-size: 5px;
    line-height: 20px;
}

.ad > div:nth-child(3) {
    font-size: 25px;
    color: rgb(230, 145, 55);
}

.ad > div:nth-child(3) > div:nth-child(1) {
    display: flex;
    align-items: flex-end;
}

/*,逗号  分组选择器*/
/*.ad>div:nth-child(3)>div:nth-child(1)>div:nth-child(1),.ad>div:nth-child(3)>div:nth-child(1)>div:nth-child(3){*/
/*    color: white;*/
/*    font-size: 20px;*/
/*}*/
/* odd奇数，even 表示偶数*/
.ad > div:nth-child(3) > div:nth-child(1) > div:nth-child(odd) {
    color: white;
    font-size: 20px;
}

.ad > div:nth-child(3) > div:nth-child(1) > div:nth-child(even) {
    margin-right: 30px;
}

/*相对于当前缩进几个字符*/
.ad > div:nth-child(3) > div:nth-child(2) {
    text-indent: 1.5em;
}

/*----------------------middle---------------------------------*/
.middle {
    display: flex;
    justify-content: center;
}

.middle > div {

    width: 900px;
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
}

.middle > div > div {
    border: 1px solid red;
}

.middle > div > div:nth-child(1) {
    width: 480px;
}

.middle > div > div:nth-child(2) {
    width: 400px;
}

.title {
    font-size: 30px;
    color: rgb(230, 145, 55);
    padding: 10px;
}

.news {
    border-top: 1px solid red;
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

.news > div:nth-child(1) {
    width: 200px;
    height: 190px;
}

.news > div:nth-child(1) img {
    width: 100%;
    height: 100%;
}

.news > div:nth-child(2) {
    width: 240px;
}

.news > div:nth-child(2) > div {
    /* 边框宽度像素  边框形状   边框颜色*/
    border-bottom: 1px dashed red;
    height: 60px;
}

.font-hide {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.font-title {
    color: black;
    font-family: 黑体;
    line-height: 30px;
    padding-top: 10px;
}

.font-content {
    color: gray;
    font-family: 楷体;
    line-height: 20px;
}

.product {
    padding: 10px;
    border-top: 1px solid red;
    display: flex;
    justify-content: space-between;
}

.product > div {
    width: 180px;
}

.product > div > div:nth-child(1) {
    height: 150px;
}

.product > div > div:nth-child(1) img {
    width: 100%;
    height: 100%;
}

/*-------------foot--------------------------------------*/
.foot > div:nth-child(1) {
    /*height: 1px;*/
    /*background-color:  rgb(230, 145, 55);*/
    border-top: 1px solid rgb(230, 145, 55);
}

.foot > div:nth-child(2) {
    display: flex;
    justify-content: center;
}

.foot > div:nth-child(2) > div {
    width: 900px;
    /*border: 1px solid red;*/
    margin: 10px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.foot > div:nth-child(2) > div > div:nth-child(2) {
    display: flex;
}

.foot > div:nth-child(2) > div > div:nth-child(2) > div {
    margin: 0 20px;
}

.foot > div:nth-child(2) > div > div:nth-child(2) > div:nth-child(1):hover img {
    content: url("../img/bdingwei.png");
}

.foot > div:nth-child(2) > div > div:nth-child(2) > div:nth-child(2):hover img {
    content: url("../img/bweibo.png");
}

.foot > div:nth-child(2) > div > div:nth-child(2) > div:nth-child(3):hover img {
    content: url("../img/bweixin.png");
}

.foot > div:nth-child(2) > div > div:nth-child(2) > div:nth-child(4):hover img {
    content: url("../img/bxinlang.png");
}